#ifndef CHAT_DIALOG_H
#define CHAT_DIALOG_H

#include <QDialog>
#include "global.h"

namespace Ui {
class Chat_Dialog;
}

class Chat_Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Chat_Dialog(QWidget *parent = nullptr);
    ~Chat_Dialog();
private slots:
    void slot_loading_chat_user();
private:
    Ui::Chat_Dialog *ui;
    void ShowSearch(bool bsearch);
    void addChatUserList();
    ChatUIMode _mode;
    ChatUIMode _state;
    bool _b_loading;


};

#endif // CHAT_DIALOG_H
